#!/bin/bash

# configure, make, install strip for the ts-7500 board in the ts-dev environment

# run this script at the top-level directory of the OLA source

source ./ts-dev-env.sh

./configure --host=arm-linux-uclibc \
	    --disable-root-check \
	    --disable-unittests \
	    --disable-fatal-warnings \
	    --prefix=$TS_PREFIX \
	    CPPFLAGS="-I/ts-root/usr/include" \
	    LDFLAGS="-L/ts-root/usr/lib" \
	    PKG_CONFIG_PATH=/ts-root/usr/lib/pkgconfig \
	    ac_cv_func_malloc_0_nonnull=yes \
	    && make clean && make install-strip

